package com.ruoyi.huoyun.message.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对司机的评价对象 to_driver_evaluate
 *
 * @author mj
 * @date 2021-11-29
 */
public class ToDriverEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识字段 */
    private Integer id;

    /** 被评价的司机姓名 */
    @Excel(name = "被评价的司机姓名")
    private String driverId;

    /** 评价的货主 */
    @Excel(name = "评价的货主")
    private String evaluateConsignorName;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 准时装货 */
    @Excel(name = "准时装货")
    private Integer isArriveLoad;

    /** 准时卸货 */
    @Excel(name = "准时卸货")
    private Integer isArriveUnload;

    /** 安全达到 */
    @Excel(name = "安全达到")
    private Integer safeArrive;

    /** 服务态度 */
    @Excel(name = "服务态度")
    private Integer serverManner;

    /** 运单号 */
    @Excel(name = "运单号")
    private String waybillId;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setDriverId(String driverId)
    {
        this.driverId = driverId;
    }

    public String getDriverId()
    {
        return driverId;
    }
    public void setEvaluateConsignorName(String evaluateConsignorName)
    {
        this.evaluateConsignorName = evaluateConsignorName;
    }

    public String getEvaluateConsignorName()
    {
        return evaluateConsignorName;
    }
    public void setTime(Date time)
    {
        this.time = time;
    }

    public Date getTime()
    {
        return time;
    }
    public void setIsArriveLoad(Integer isArriveLoad)
    {
        this.isArriveLoad = isArriveLoad;
    }

    public Integer getIsArriveLoad()
    {
        return isArriveLoad;
    }
    public void setIsArriveUnload(Integer isArriveUnload)
    {
        this.isArriveUnload = isArriveUnload;
    }

    public Integer getIsArriveUnload()
    {
        return isArriveUnload;
    }
    public void setSafeArrive(Integer safeArrive)
    {
        this.safeArrive = safeArrive;
    }

    public Integer getSafeArrive()
    {
        return safeArrive;
    }
    public void setServerManner(Integer serverManner)
    {
        this.serverManner = serverManner;
    }

    public Integer getServerManner()
    {
        return serverManner;
    }
    public void setWaybillId(String waybillId)
    {
        this.waybillId = waybillId;
    }

    public String getWaybillId()
    {
        return waybillId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverId", getDriverId())
            .append("evaluateConsignorName", getEvaluateConsignorName())
            .append("time", getTime())
            .append("isArriveLoad", getIsArriveLoad())
            .append("isArriveUnload", getIsArriveUnload())
            .append("safeArrive", getSafeArrive())
            .append("serverManner", getServerManner())
            .append("waybillId", getWaybillId())
            .toString();
    }
}
